package com.kwok.mybatis.entity;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
public class Person implements Serializable {

    private Integer id;

    private String name;

    private String gender;

    private Integer age;

    private Date birthday;

    public Person(String name, String gender, Integer age, Date birthday) {
        this.name = name;
        this.gender = gender;
        this.age = age;
        this.birthday = birthday;
    }
}
